home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best of Shareware
/
Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso
/
mac
/
DOS
/
CAD_CAM
/
PADSPCB
/
PADS.EXE
/
SHARE.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-12-19
|
3KB
|
155 lines
@echo off
front /X
if exist therm.1 ren therm.1 therm.0
:top1
if exist therm.1 goto THERM
front
goto SKIP
:THERM
front THERM
:SKIP
if errorlevel 12 goto thermal2
if errorlevel 11 goto thermal1
if errorlevel 10 goto end
if errorlevel 9 goto pwrite
if errorlevel 8 goto pread
if errorlevel 6 goto pedit
if errorlevel 5 goto plib
if errorlevel 4 goto cedit
if errorlevel 3 goto superroute
if errorlevel 2 goto pcb
if errorlevel 1 goto logic
goto end
:plib
if exist therm.1 ren therm.1 therm.0
if not exist plib.exe goto bad
plib
goto top1
:pedit
if exist therm.1 ren therm.1 therm.0
if not exist pedit.exe goto bad
pedit /P /B pedit.tmp
goto top1
:cedit
if exist therm.1 ren therm.1 therm.0
if not exist pedit.exe goto bad
pedit /C /B pedit.tmp
goto top1
:superroute
if exist therm.1 ren therm.1 therm.0
if not exist sroute.bat goto bad
cls
rem The following command " qemm off " is used to turn off your expanded
rem memory manager on a 80386 computer. If you are using a 80286 computer,
rem you should delete this command.
qemm off
call sroute
rem The following command " qemm on " is used to turn on your expanded
rem memory manager on a 80386 computer. If you are using a 80286 computer,
rem you should delete this command.
qemm on
goto top1
:pread
cls
if exist therm.1 ren therm.1 therm.0
if not exist pread.exe goto bad
pread
goto top1
:pwrite
cls
if exist therm.1 ren therm.1 therm.0
if not exist pwrite.exe goto bad
pwrite
goto top1
:pcb
if exist therm.1 ren therm.1 therm.0
if not exist pcbshare.exe goto bad
pcbshare /m
goto top1
:thermal1
if exist therm.0 ren therm.0 therm.1
if not exist itf.exe goto bad
cd thermal
itf
goto top1
:thermal2
if exist therm.0 ren therm.0 therm.1
if not exist thermal.exe goto bad
cd thermal
call thermal
goto top1
:logic
if exist therm.1 ren therm.1 therm.0
if not exist logshare.exe goto bad
front /L
if exist logfil\startup.mac del logfil\startup.mac >nul
if exist logfil\$$$tmp.sch del logfil\$$$tmp.sch >nul
:top
if not exist logfil\startup.mac goto userparms
logshare /s /r:logfil\startup.mac
if exist logfil\startup.mac del logfil\startup.mac >nul
goto errcheck
:userparms
logshare /m
:errcheck
if errorlevel 2 goto netlist
if errorlevel 1 goto eco
if errorlevel 0 goto end0
:eco
cls
ecogen @logfil\info.tmp
Pause
if exist logfil\tmp0.asc del logfil\tmp0.asc >nul
if exist logfil\tmp1.asc del logfil\tmp1.asc >nul
if exist logfil\info.tmp del logfil\info.tmp >nul
copy eco.mac logfil\startup.mac >nul
goto top
:netlist
cls
xlate logfil\info.tmp
Pause
if exist logfil\info.tmp del logfil\info.tmp
if exist logfil\repout.net del logfil\repout.net
copy netlst.mac logfil\startup.mac >nul
goto top
:end0
goto top1
:bad
echo Program not found!
pause
goto top1
:end